﻿/******************************************************   
创建者: 梁家健
创建时间: 2017-05-15
修改:
修改时间: 
功能: 城市品类码比实体
 ******************************************************/

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using com.nm.Attributes;

namespace DistributeAPI.Model
{
    public class DCBasCitySizeRateModel
    {
        /// <summary>
        /// 城市品类码比实体
        /// </summary>
        /// Writer：梁家健
        /// Create Date：2017-05-15
        public class CreatModel : NeceModel
        {
            [ParamDescription("审核人")]
            public string Checker { get; set; }
            [ParamDescription("修改时间")]
            public DateTime? MofifyDTM { get; set; }
            [ParamDescription("允许使用")]
            public long? AllowUsed { get; set; }
            [ParamDescription("读取时间")]
            public DateTime? LoadTime { get; set; }
            [ParamDescription("修改时间")]
            public DateTime? etl_date { get; set; }
        }

        /// <summary>
        /// 城市品类码比主要实体
        /// </summary>
        /// Writer：梁家健
        /// Create Date：2017-05-15
        public class NeceModel: CoreModel
        {
            [ParamDescription("尺码类型")]
            public string SizeTypeFlag { get; set; }
            [ParamDescription("尺码")]
            public string SizeID { get; set; }
            [ParamDescription("占比")]
            public decimal? SizeRate { get; set; }
        }

        /// <summary>
        /// 城市品类码比删除用实体
        /// </summary>
        /// Writer：梁家健
        /// Create Date：2017-05-15
        public class CoreModel
        {
            [ParamDescription("公司代码")]
            public string CompanyID { get; set; }
            [ParamDescription("地区ID")]
            public string AreaID { get; set; }
            [ParamDescription("地区")]
            public string AreaName { get; set; }
            [ParamDescription("品类")]
            public string ModelID { get; set; }
            [ParamDescription("数据源")]
            public string ExtrSource { get; set; }
        }

        /// <summary>
        /// 城市品类码比显示实体
        /// </summary>
        /// Writer：梁家健
        /// Create Date：2017-05-15
        public class ListModel : NeceModel
        {
            [ParamDescription("品类")]
            public string ModelName { get; set; }
            [ParamDescription("尺码")]
            public string SizeName { get; set; }
            [ParamDescription("城市内码")]
            public string AreaCode { get; set; }
            [ParamDescription("省份")]
            public string ParentID { get; set; }
        }

        /// <summary>
        /// 城市品类码比修改实体
        /// </summary>
        /// Writer：梁家健
        /// Create Date：2017-05-15
        public class ModifyModel
        {
            public IList<NeceModel> list { get; set; }
        }

        /// <summary>
        /// 城市品类码比删除实体
        /// </summary>
        /// Writer：梁家健
        /// Create Date：2017-05-15
        public class DeleteModel
        {
            public IList<CoreModel> list { get; set; }
        }
    }
}
